package com.cqut.service;

import java.util.List;
import java.util.Map;

import com.cqut.model.MessageNotification;

public interface IMessageNotificationService {
    boolean save(MessageNotification messageNotification);

    boolean update(MessageNotification messageNotification);

    boolean delete(String messageId);

    boolean batchDelete(String[] primaryKeys);

    MessageNotification findModel(String messageId);

    MessageNotification findModel(String messageId, String[] parameters);

    Map<String, Object> findMap(String messageId);

    Map<String, Object> findMap(String messageId, String[][] parameters);

    List<MessageNotification> loadModels();

    List<MessageNotification> loadModels(String condition, Object[] values, String order, String sort, int curPage, int limit);

    List<MessageNotification> loadModels(String[] parameters, String condition, Object[] values, String order, String sort, int curPage, int limit);

    List<Map<String, Object>> loadMaps();

    List<Map<String, Object>> loadMaps(String condition, Object[] values, String order, String sort, int curPage, int limit);

    List<Map<String, Object>> loadMaps(String[][] parameters, String condition, Object[] values, String order, String sort, int curPage, int limit);

    long count();

    long count(String condition, Object[] values);

    long count(String[] parameters, boolean isDistinct);

    long count(String[] parameters, String condition, Object[] values, boolean isDistinct);
}
